package com.jrx.anytxn.transaction.entity;

import java.math.BigDecimal;
import java.util.Date;

/**
 *  
 * 表:tl_loan_classify_change 
 * @author pcc 
 * @date 2020-11-28 
 */
public class TlLoanClassifyChange {
    /**
     * 自增主键
     * 表字段:id
     */
    private Long id;

    /**
     * 租户ID
     * 表字段:tenant_id
     */
    private String tenantId;

    /**
     * 机构号
     * 表字段:organization_id
     */
    private String organizationId;

    /**
     * 客户号
     * 表字段:customer_id
     */
    private String customerId;

    /**
     * 贷款id
     * 表字段:loan_id
     */
    private String loanId;

    /**
     * 渠道id
     * 表字段:channel
     */
    private String channel;

    /**
     * 业务日期 yyyyMMdd
     * 表字段:business_date
     */
    private String businessDate;

    /**
     * 逾期天数
     * 表字段:delq_days
     */
    private Integer delqDays;

    /**
     * 订单转移前五级分类 0 = 正常1 = 关注2 = 次级3 = 可疑4 = 损失
     * 表字段:before_status
     */
    private String beforeStatus;

    /**
     * 订单转移后五级分类 0 = 正常1 = 关注2 = 次级3 = 可疑4 = 损失
     * 表字段:after_status
     */
    private String afterStatus;

    /**
     * 本金发生额
     * 表字段:principal_amount
     */
    private BigDecimal principalAmount;

    /**
     * 创建时间
     * 表字段:create_time
     */
    private Date createTime;

    /**
     * 获取自增主键
     * @return id Long
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置自增主键
     * @param id 自增主键
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取租户ID
     * @return tenantId String
     */
    public String getTenantId() {
        return tenantId;
    }

    /**
     * 设置租户ID
     * @param tenantId 租户ID
     */
    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    /**
     * 获取机构号
     * @return organizationId String
     */
    public String getOrganizationId() {
        return organizationId;
    }

    /**
     * 设置机构号
     * @param organizationId 机构号
     */
    public void setOrganizationId(String organizationId) {
        this.organizationId = organizationId;
    }

    /**
     * 获取客户号
     * @return customerId String
     */
    public String getCustomerId() {
        return customerId;
    }

    /**
     * 设置客户号
     * @param customerId 客户号
     */
    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    /**
     * 获取贷款id
     * @return loanId String
     */
    public String getLoanId() {
        return loanId;
    }

    /**
     * 设置贷款id
     * @param loanId 贷款id
     */
    public void setLoanId(String loanId) {
        this.loanId = loanId;
    }

    /**
     * 获取渠道id
     * @return channel String
     */
    public String getChannel() {
        return channel;
    }

    /**
     * 设置渠道id
     * @param channel 渠道id
     */
    public void setChannel(String channel) {
        this.channel = channel;
    }

    /**
     * 获取业务日期 yyyyMMdd
     * @return businessDate String
     */
    public String getBusinessDate() {
        return businessDate;
    }

    /**
     * 设置业务日期 yyyyMMdd
     * @param businessDate 业务日期 yyyyMMdd
     */
    public void setBusinessDate(String businessDate) {
        this.businessDate = businessDate;
    }

    /**
     * 获取逾期天数
     * @return delqDays Integer
     */
    public Integer getDelqDays() {
        return delqDays;
    }

    /**
     * 设置逾期天数
     * @param delqDays 逾期天数
     */
    public void setDelqDays(Integer delqDays) {
        this.delqDays = delqDays;
    }

    /**
     * 获取订单转移前五级分类 0 = 正常1 = 关注2 = 次级3 = 可疑4 = 损失
     * @return beforeStatus String
     */
    public String getBeforeStatus() {
        return beforeStatus;
    }

    /**
     * 设置订单转移前五级分类 0 = 正常1 = 关注2 = 次级3 = 可疑4 = 损失
     * @param beforeStatus 订单转移前五级分类 0 = 正常1 = 关注2 = 次级3 = 可疑4 = 损失
     */
    public void setBeforeStatus(String beforeStatus) {
        this.beforeStatus = beforeStatus;
    }

    /**
     * 获取订单转移后五级分类 0 = 正常1 = 关注2 = 次级3 = 可疑4 = 损失
     * @return afterStatus String
     */
    public String getAfterStatus() {
        return afterStatus;
    }

    /**
     * 设置订单转移后五级分类 0 = 正常1 = 关注2 = 次级3 = 可疑4 = 损失
     * @param afterStatus 订单转移后五级分类 0 = 正常1 = 关注2 = 次级3 = 可疑4 = 损失
     */
    public void setAfterStatus(String afterStatus) {
        this.afterStatus = afterStatus;
    }

    /**
     * 获取本金发生额
     * @return principalAmount BigDecimal
     */
    public BigDecimal getPrincipalAmount() {
        return principalAmount;
    }

    /**
     * 设置本金发生额
     * @param principalAmount 本金发生额
     */
    public void setPrincipalAmount(BigDecimal principalAmount) {
        this.principalAmount = principalAmount;
    }

    /**
     * 获取创建时间
     * @return createTime Date
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置创建时间
     * @param createTime 创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}